Optimal. Leaf size=89 \[ -\frac{21 a^5 b^2}{5 x^5}-\frac{35 a^4 b^3}{4 x^4}-\frac{35 a^3 b^4}{3 x^3}-\frac{21 a^2 b^5}{2 x^2}-\frac{7 a^6 b}{6 x^6}-\frac{a^7}{7 x^7}-\frac{7 a b^6}{x}+b^7 \log (x) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0332283, antiderivative size = 89, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 11, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091, Rules used = {43} \[ -\frac{21 a^5 b^2}{5 x^5}-\frac{35 a^4 b^3}{4 x^4}-\frac{35 a^3 b^4}{3 x^3}-\frac{21 a^2 b^5}{2 x^2}-\frac{7 a^6 b}{6 x^6}-\frac{a^7}{7 x^7}-\frac{7 a b^6}{x}+b^7 \log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 43
Rubi steps
\begin{align*} \int \frac{(a+b x)^7}{x^8} \, dx &=\int \left (\frac{a^7}{x^8}+\frac{7 a^6 b}{x^7}+\frac{21 a^5 b^2}{x^6}+\frac{35 a^4 b^3}{x^5}+\frac{35 a^3 b^4}{x^4}+\frac{21 a^2 b^5}{x^3}+\frac{7 a b^6}{x^2}+\frac{b^7}{x}\right ) \, dx\\ &=-\frac{a^7}{7 x^7}-\frac{7 a^6 b}{6 x^6}-\frac{21 a^5 b^2}{5 x^5}-\frac{35 a^4 b^3}{4 x^4}-\frac{35 a^3 b^4}{3 x^3}-\frac{21 a^2 b^5}{2 x^2}-\frac{7 a b^6}{x}+b^7 \log (x)\\ \end{align*}
Mathematica [A] time = 0.009578, size = 89, normalized size = 1. \[ -\frac{21 a^5 b^2}{5 x^5}-\frac{35 a^4 b^3}{4 x^4}-\frac{35 a^3 b^4}{3 x^3}-\frac{21 a^2 b^5}{2 x^2}-\frac{7 a^6 b}{6 x^6}-\frac{a^7}{7 x^7}-\frac{7 a b^6}{x}+b^7 \log (x) \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.008, size = 78, normalized size = 0.9 \begin{align*} -{\frac{{a}^{7}}{7\,{x}^{7}}}-{\frac{7\,{a}^{6}b}{6\,{x}^{6}}}-{\frac{21\,{a}^{5}{b}^{2}}{5\,{x}^{5}}}-{\frac{35\,{a}^{4}{b}^{3}}{4\,{x}^{4}}}-{\frac{35\,{a}^{3}{b}^{4}}{3\,{x}^{3}}}-{\frac{21\,{a}^{2}{b}^{5}}{2\,{x}^{2}}}-7\,{\frac{a{b}^{6}}{x}}+{b}^{7}\ln \left ( x \right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 1.03378, size = 105, normalized size = 1.18 \begin{align*} b^{7} \log \left (x\right ) - \frac{2940 \, a b^{6} x^{6} + 4410 \, a^{2} b^{5} x^{5} + 4900 \, a^{3} b^{4} x^{4} + 3675 \, a^{4} b^{3} x^{3} + 1764 \, a^{5} b^{2} x^{2} + 490 \, a^{6} b x + 60 \, a^{7}}{420 \, x^{7}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.73739, size = 200, normalized size = 2.25 \begin{align*} \frac{420 \, b^{7} x^{7} \log \left (x\right ) - 2940 \, a b^{6} x^{6} - 4410 \, a^{2} b^{5} x^{5} - 4900 \, a^{3} b^{4} x^{4} - 3675 \, a^{4} b^{3} x^{3} - 1764 \, a^{5} b^{2} x^{2} - 490 \, a^{6} b x - 60 \, a^{7}}{420 \, x^{7}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [A] time = 0.78602, size = 82, normalized size = 0.92 \begin{align*} b^{7} \log{\left (x \right )} - \frac{60 a^{7} + 490 a^{6} b x + 1764 a^{5} b^{2} x^{2} + 3675 a^{4} b^{3} x^{3} + 4900 a^{3} b^{4} x^{4} + 4410 a^{2} b^{5} x^{5} + 2940 a b^{6} x^{6}}{420 x^{7}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.18989, size = 107, normalized size = 1.2 \begin{align*} b^{7} \log \left ({\left | x \right |}\right ) - \frac{2940 \, a b^{6} x^{6} + 4410 \, a^{2} b^{5} x^{5} + 4900 \, a^{3} b^{4} x^{4} + 3675 \, a^{4} b^{3} x^{3} + 1764 \, a^{5} b^{2} x^{2} + 490 \, a^{6} b x + 60 \, a^{7}}{420 \, x^{7}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]